<template>
  <van-tabbar route active-color="red" inactive-color="black">
    <van-tabbar-item to="/news_list">
      <van-icon name="fire-o" size="0.55rem" />
      <span>热门</span>
    </van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  created() {
    console.log(this.$route.query.path);
  },
};
</script>

<style lang="less" scoped>
.van-tabbar--fixed {
  top: 0;
  left: 0;
}
</style>